package com.shuzijun.leetcode.editor.cn;
public class SwapNumbersLcci{
    public static void main(String[] args) {
         Solution solution = new SwapNumbersLcci().new Solution();
    }
    //leetcode submit region begin(Prohibit modification and deletion)
class Solution {
    public int[] swapNumbers(int[] numbers) {
        if (numbers[0] == numbers[1]) return numbers;
        numbers[0] ^= numbers[1];
        numbers[1] ^= numbers[0];
        numbers[0] ^= numbers[1];
        return numbers;
    }
}
//leetcode submit region end(Prohibit modification and deletion)

}